package com.bcfn.bshop.item.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.bcfn.bshop.common.dao.BaseDao;
import com.bcfn.bshop.common.service.BaseServiceImpl;
import com.bcfn.bshop.item.dao.ItemPhotoDao;
import com.bcfn.bshop.item.dto.ItemPhotoDto;
import com.bcfn.bshop.item.model.ItemPhoto;
import com.bcfn.bshop.item.service.ItemPhotoService;

/**
 * 商品照片.
 * @author LiangGuoNing
 * @create 2019年2月11日 上午12:52:59
 * @copyright
 * @modify
 */
@Service
public class ItemPhotoServiceImpl extends BaseServiceImpl<Integer,ItemPhoto,ItemPhotoDto> implements ItemPhotoService{

	@Resource
	private ItemPhotoDao itemPhotoDao;
	
	public ItemPhotoServiceImpl() {
		super(ItemPhoto.class, ItemPhotoDto.class);
	}

	@Override
	public BaseDao<Integer, ItemPhoto> getBaseDao() {
		return itemPhotoDao;
	}

}
